package com.aliyun.frontframework;

import android.view.Surface;

import com.android.grafika.gles.WindowSurface;

public class WindowSurfaceBox {
    private WindowSurface mDisplayWindowSurface;
    private int mClientHeight, mClientWidth;
    private Surface mClientSurface;
    private String code;

    public WindowSurfaceBox(WindowSurface windowSurface, Surface clientSurface,
            int clientWidth, int clientHeight, String code) {
        mDisplayWindowSurface = windowSurface;
        mClientSurface = clientSurface;
        mClientHeight = clientHeight;
        mClientWidth = clientWidth;
        this.code = code;
    }

    public WindowSurface getDisplayWindowSurface() {
        return mDisplayWindowSurface;
    }

    public Surface getClientSurface() {
        return mClientSurface;
    }

    public int getClientHeight() {
        return mClientHeight;
    }

    public int getClientWidth() {
        return mClientWidth;
    }

    public String getCode() {
        return code;
    }
}
